TARGET = luigisokoban
OBJS = fichiers.o jeu.o main.o

CFLAGS = -G4 -Wall -O3
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

PSPSDK=$(shell psp-config --pspsdk-path)
PSPDIR=$(shell psp-config --psp-prefix)
PSPBIN=$(PSPDIR)/bin

SDLCONFIG=$(PSPBIN)/sdl-config

LIBS+=-lSDL_ttf -lSDL_image -lfreetype -lpng -ljpeg -lm -lz
LIBS+=$(shell $(SDLCONFIG) --libs)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Luigi Sokoban, ported by bobby6killer
PSP_EBOOT_PIC1 = pic1.png
PSP_EBOOT_ICON = icon.png

BUILD_PRX = 1
PSP_FW_VERSION = 371

include $(PSPSDK)/lib/build.mak
